﻿@model etracks.Web.EnvironmentRegistrationViewModel

@using (Html.BeginForm("Add", "Environment", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div class="form-group">
        <h3 class="col-sm-offset-2 col-sm-8">Add Environment</h3>
    </div>
    
    @Html.Partial("Environment_InputFormPartial", Model)
    
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-8">
            <button type="submit" class="btn btn-default">Save changes</button>

            @Html.ActionLink("Environment List", "List", "Environment", new { id = Model.ProjectId }, new { @class = "btn btn-default" })
        </div>
    </div>
}